package net.hserver.sync.init;

import cn.hserver.core.interfaces.InitRunner;
import cn.hserver.core.ioc.IocUtil;
import cn.hserver.core.ioc.annotation.Autowired;
import cn.hserver.core.ioc.annotation.Bean;
import cn.hserver.core.ioc.annotation.Order;
import net.hserver.sync.config.SyncType;
import net.hserver.sync.driver.WebDavDriver;
import net.hserver.sync.entity.SyncConfigEntity;
import net.hserver.sync.entity.SyncWebDavConfigEntity;
import net.hserver.sync.mapper.InitSqlMapper;
import net.hserver.sync.mapper.SyncConfigMapper;
import net.hserver.sync.service.SyncWebDavService;

import java.util.Date;
import java.util.List;
@Order(2)
@Bean
public class InitDriver implements InitRunner {

    @Autowired
    private SyncWebDavService syncWebDavService;

    @Override
    public void init(String[] args) {
        syncWebDavService.initDriver();
    }
}
